package com.rentplant.mapper;

import com.alibaba.fastjson.JSONObject;
import com.rentplant.Pojo.rentaljudgeanduser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper  //申明作为底层交互
@Repository
public interface rentalJudgeMapper {

    //搜索该租用信息的评论
    public List<rentaljudgeanduser> rentalJudge(JSONObject rentaljudgeinfo);

    //发布求租信息评论
    public  boolean addRentalJudge(JSONObject rentaljudgeinfo);
}
